package com.itany.shop.log4j;

import org.apache.log4j.Logger;

/**
 * @Author:石小俊
 * @Date: 2022/12/23 14:45
 * @Version:1.0-SNAPSHOT
 * @Description:
 */
public class Test {

    public static void main(String[] args) {
        Logger logger = Logger.getLogger(Test.class);
        logger.debug("log4j调试消息日志");
        logger.info("log4j普通消息日志");
        logger.warn("log4j警告消息日志");
        logger.error("log4j错误消息日志");
        logger.fatal("log4j灾难消息日志");
    }

}
